public abstract class GpEquipmentPort extends SerialPort
限定符和类型 | 类和说明 |
---|---|
static interface |
GpEquipmentPort.OnDataReceived |
mFd
限定符 | 构造器和说明 |
---|---|
protected |
GpEquipmentPort(android.content.Context context) |
限定符和类型 | 方法和说明 |
---|---|
void |
closeSerialPort() |
protected SerialPort |
getSerialPort(java.io.File file,
int baudrate,
int flag) |
byte[] |
getUpdateData() |
protected void |
setDataReceived(GpEquipmentPort.OnDataReceived onDataReceived) |
protected void |
setPath(java.lang.String path) |
check, close, download, getInputStream, is, openSerialPort, requestUpdate, requestVersionInfo, update, updateCheck
protected SerialPort getSerialPort(java.io.File file, int baudrate, int flag) throws java.lang.SecurityException, java.io.IOException, java.security.InvalidParameterException
java.lang.SecurityException
java.io.IOException
java.security.InvalidParameterException
public void closeSerialPort()
protected void setPath(java.lang.String path)
public byte[] getUpdateData()
protected void setDataReceived(GpEquipmentPort.OnDataReceived onDataReceived)